package com.hades.example.java.refactoring.before.c11.c11_2_pull_up_method.v2;

import java.util.Date;

public class VipCustomer extends Customer{
    void createBill(Date date) {
        double chargeAmount = chargeFor(lastBillDate, date);
        addBill(date, chargeAmount);
    }

    double chargeFor(Date start, Date end) {
        return 10;
    }
}
